home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950726-19950929 / 000306_news@columbia.edu_Wed Sep 6 12:45:30 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA24928
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 6 Sep 1995 08:45:40 -0400
  3. Received: by apakabar.cc.columbia.edu id AA13720
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 6 Sep 1995 08:45:37 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: change c-kermit lockfile?
  9. Date: 6 Sep 1995 12:45:30 GMT
  10. Organization: Columbia University
  11. Lines: 33
  12. Message-Id: <42k55a$dcm@apakabar.cc.columbia.edu>
  13. References: <DEGtrJ.45p@gorilla.nbn.com>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Keywords: kermit lockfile
  16. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  17.  
  18. In article <DEGtrJ.45p@gorilla.nbn.com>,
  19. Tim Holmes <holmes@gorilla.nbn.com> wrote:
  20. : Is it possible to change the format & location of the c-kermit lockfile?  
  21. Of course.  You've got the source code, change it to whatever you like,
  22. at your own risk.  As you will note, there are already two (2) different
  23. and incompatible lock file conventions for Linux, and dozens of them for
  24. other UNIX variations and releases thereof.  Read the UNIX appendix of
  25. "Using C-Kermit" and/or the file ckuins.doc for details.
  26.  
  27. : I am running linux and want the lock to be ascii, not binary, and other
  28. : than in /usr/spool/uucp.  Right now I have altered all the other serial
  29. : port apps to use binary locks and have put a symbolic link to /var/lock,
  30. : where I want the locks to be.
  31. The purpose of the lock file is to be where all applications can find it,
  32. so all of these applications will interoperate.  Changing it is probably
  33. a bad idea.  Eventually you will install another application, and another,
  34. and you'll have to go through this over and over again.
  35.  
  36. : Can I change it so that the locks are ascii and in /var/lock?
  37. You can change it any way you like if that's what you really want.
  38. Read the aforementioned references.
  39.  
  40. In fact, maybe all you need to do is build Linux C-Kermit for the "other"
  41. lockfile standard, known as FSSTND:
  42.  
  43.   make linux KFLAGS=-DLINUXFSSTND
  44.  
  45. This selects /var/lock as the lockfile directory and write the pid in ascii.
  46.  
  47. - Frank